/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo04_this关键字的内存图 {

    public static void main(String[] args) {

        Worker w1=new Worker();
        w1.setName("小红");
        w1.setAge(20);
        w1.show();

        System.out.println("------------------");

        Worker w2=new Worker();
        w2.setName("小龙");
        w2.setAge(30);
        w2.show();
    }
}
